package it.desertsupport.hibernate.dao;

import it.desertsupport.model.Profile;

import java.util.List;

public interface ProfileDAO {

	public void save(Profile profile) throws Exception;
	public void delete(Profile profile) throws Exception;
	public Profile getProfile(Long id) throws Exception;
	public List<Profile> findAll() throws Exception;
	public List<Profile> findByExample(Profile profile) throws Exception;
	public Profile marge(Profile profile) throws Exception;
	
}
